Datasets:

main_data.Rdata: the main dataset of outcome and independent variables for rayon level analyses

data_adm2_west_na3.RData: data frame for western Ukraine used in placebo analyses

weather_adm2_1933_na3.RData: daily weather data from 1931 to 2014, used in robustness analyses that control for contemporaneous weather shocks

data_adm2_1933_na3_ProtestDay.Rdata: daily data of late Soviet protests, used in rolling regressions

data_adm2_1933_na3_MaidanDay.Rdata: daily data of protests from 2009 to 2013 (anti-Yanukovych protests), used in rolling regressions

USSR_elections.Rdata: district-level data on election results used in fraud-detection analysis in the Appendix

survey_data.RData: survey data from Eastern Ukraine used in individual-level analyses

survey_data_d.RData: same survey data as above, with pre-coded dummy variables used in matching analysis in the Appendix

PNdata_UKR.RData: individual-level data on Ukrainian-born Red Army soldiers in WWII, used for tests of alternative explanations

Code files:

function.R: user-defined functions used in the replication

Replication.R: the replication code (see annotations in the file for the details)